package com.atzxh.java.java8;

import java.time.LocalDateTime;

/**
 * @author 小红同学
 * @create 2023-04-28-10:49
 * @description
 */
public class LambdaTest {
    public static void main(String[] args) {

    }
}
class Student {
    private String name;
    private int age;
    private double score;
    private int sex;
    private LocalDateTime joinTime;
    public Student() {
    }

    public Student(String name, int age, double score, int sex, LocalDateTime joinTime) {
        this.name = name;
        this.age = age;
        this.score = score;
        this.sex = sex;
        this.joinTime = joinTime;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public double getScore() {
        return score;
    }

    public void setScore(double score) {
        this.score = score;
    }

    public int getSex() {
        return sex;
    }

    public void setSex(int sex) {
        this.sex = sex;
    }

    public LocalDateTime getJoinTime() {
        return joinTime;
    }

    public void setJoinTime(LocalDateTime joinTime) {
        this.joinTime = joinTime;
    }

    @Override
    public String toString() {
        return "Student{" +
                "name='" + name + '\'' +
                ", age=" + age +
                '}';
    }
}
